/**
  *****************************************************************************
  * @file 
  * @brief 
  * @author  
  * @version
  * @date  
  *****************************************************************************
  */
#ifndef __TASK_GNSS_H
#define __TASK_GNSS_H

#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "timers.h"

#include "main.h"

/* Public defines -----------------------------------------------------------*/
#define GPS_REC_BUF_SIZE     1024
/* Public Struct ------------------------------------------------------------*/

/* Public enum --------------------------------------------------------------*/
typedef enum {
    GNSS_EVT_NEMA = 1,
		GNSS_EVT_SPORT_STATE ,
}GNSS_EVT_ID;


/* Public Variable ----------------------------------------------------------*/
extern TaskHandle_t app_gnss_handler;
/* Pubilc function prototypes -----------------------------------------------*/
void task_gnss(void *arg);

void gps_signal_init(void);
BaseType_t gnss_evt_message_send(EVENT_T* event, TickType_t wait_tick);
BaseType_t gnss_evt_message_get(EVENT_T* event, TickType_t wait_tick);

#endif /* __TASK_LVGL_H */
